import { lazy } from "react";

// 鉴权组件
export const AuthRoute = lazy(() => import("@/components/AuthRoute"));
// 布局组件
export const Layout = lazy(() => import("@/components/Layout"));

// 登录页面
export const Login = lazy(() => import("@/pages/Login"));
// 个人中心页面
export const Profile = lazy(() => import("@/pages/Profile"));
// 编辑个人信息页面
export const ProfileEdit = lazy(() => import("@/pages/Profile/Edit"));

// 首页
export const Home = lazy(() => import("@/pages/Home"));